package com.example.demo.design;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service("generalMember")
public class GeneralMember implements Strategy {

    @Override
    public BigDecimal calculatePrice() {
        return new BigDecimal(10);
    }
}
